/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.service;

import com.yanlight.app.request.CompanyAddRequest;
import com.yanlight.app.request.CompanyModifyRequest;
import com.yanlight.app.request.CompanyQueryRequest;
import com.yanlight.app.response.CompanyAddResponse;
import com.yanlight.app.response.CompanyDetailResponse;
import com.yanlight.app.response.CompanyListResponse;

/**
 * @author haolw
 * @time 2017/08/18
 */
public interface CompanyService {

    boolean checkAvailable(Integer companyId);

    boolean exist(Integer companyId);

    CompanyListResponse findList(CompanyQueryRequest request);

    CompanyDetailResponse findById(Integer id);

    CompanyAddResponse add(CompanyAddRequest request);

    void modifyStatus(Integer id, Integer status);

    void modify(CompanyModifyRequest request);

    void addPaycode(Integer id);

    void delete(Integer id);

}
